home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / cmds / bibtex / site.h < prev   
Encoding:
C/C++ Source or Header  |  1989-06-15  |  5.0 KB  |  156 lines

  1. /*
  2.  * Master configuration file for WEB to C.
  3.  *
  4.  * Tim Morgan  2/13/88
  5.  *    Last updated 10/25/88
  6.  */
  7.  
  8. /*
  9.  * Default editor command string: %d expands to the line number where
  10.  * TeX or Metafont found an error and %s expands to the name of the file.
  11.  */
  12. #define    EDITOR        "/sprite/cmds/vi +%d %s"
  13.  
  14. /*
  15.  * If the type "int" is at least 32 bits (including a sign bit), this
  16.  * symbol should be #undef'd; otherwise, it should be #define'd.  If
  17.  * your compiler uses 16-bit int's, arrays larger than 32kb may give
  18.  * you problems, especially if indices are automatically cast to int's.
  19.  */
  20. #undef    SIXTEENBIT
  21.  
  22. /*
  23.  * Our character set is 7-bit ASCII unless NONASCII is defined.
  24.  * For other character sets, make sure that first_text_char and
  25.  * last_text_char are defined correctly in TeX (they're 0 and 127,
  26.  * respectively, by default).  In the file tex.defines, change
  27.  * the indicated range of type "char" to be the same as
  28.  * first_text_char..last_text_char, re-tangle, and "#define NONASCII".
  29.  */
  30. #undef    NONASCII
  31.  
  32. /* Define if we're running under System V */
  33. #undef    SYSV
  34.  
  35. /* Define if we're running under 4.2 or 4.3 BSD */
  36. #define    BSD
  37.  
  38. /*
  39.  * Define this if web2c will be compiled with an ANSI-C compiler.
  40.  * It also changes web2c so that by default it produces ANSI-C as
  41.  * its output.
  42.  */
  43. #undef    ANSI
  44.  
  45. /* Define this if web2c will be running under DOS with Microsoft C */
  46. #undef    MS_DOS
  47.  
  48. /*
  49.  * The type "schar" should be defined here to be the smallest signed
  50.  * type available.  ANSI C compilers may need to use "signed char".
  51.  * If you don't have signed characters, then define schar to be the
  52.  * type "short".
  53.  */
  54. typedef    char schar;
  55.  
  56. /*
  57.  * The type "integer" must be a signed integer capable of holding at
  58.  * least the range of numbers (-2^31)..(2^32-1).
  59.  * The ANSI draft C standard says that "long" meets this requirement.
  60.  */
  61. typedef long integer;
  62.  
  63. /* Boolean can by any convenient type */
  64. typedef char boolean;
  65.  
  66. /*
  67.  * The type glueratio should be a floating-point type which won't
  68.  * unnecessarily increase the size of the memoryword structure.
  69.  * This is the basic requirement.  On most machines, if you're
  70.  * building a normal-sized TeX, then glueratio must probably meet
  71.  * the following restriction: sizeof(glueratio) <= sizeof(integer).
  72.  * Usually, then, glueratio must be of type "float".  But
  73.  * if you build a BIG TeX, you can (on most machines) and should
  74.  * make it "double" to avoid loss of precision and conversions
  75.  * to and from double during calculations.
  76.  */
  77. typedef double glueratio;
  78.  
  79. /*
  80.  * Type "real" can by any convenient floating-point type; usually double
  81.  * is best since it gives more precision and most C compilers convert
  82.  * float to double anyway.
  83.  */
  84. typedef double real;
  85.  
  86. /*
  87.  * Define MAXPATHLENGTH to be the maximum number of characters in a
  88.  * search path.  This is used to size the buffers for TEXINPUTS,
  89.  * MFBASES, etc.
  90.  */
  91. #define    MAXPATHLENGTH    1024
  92.  
  93. /*
  94.  * TeX search paths: This is what we use at UCI, which probably won't be
  95.  * what you use.
  96.  */
  97. #define    TEXINPUTS    ".:/sprite/lib/tex"
  98. #define    TEXFONTS    ".:/sprite/lib/fonts/tfm"
  99. #define    TEXPOOL        ".:/sprite/lib/tex"
  100. #define    TEXFORMATS    ".:/sprite/lib/tex"
  101.  
  102. /* Metafont search paths */
  103. #define    MFINPUTS    ".:/usr/local/lib/mf84"
  104. #define    MFBASES        ".:/usr/local/lib/mf84/bases"
  105. #define    MFPOOL        ".:/usr/local/lib/mf84"
  106.  
  107. /*
  108.  * BibTeX search path for .bib files.
  109.  * NB: TEXINPUTS is used by BibTeX to search for .bst files.
  110.  */
  111. #define    BIBINPUTS    "."
  112.  
  113. /*
  114.  * Metafont Window Support: More than one may be defined, as long
  115.  * as you don't try to have X10 and X11 support in the same binary
  116.  * (because there are conflicting routine names in the libraries).
  117.  * If you define one or more of these windowing systems, BE SURE
  118.  * you update the top-level Makefile accordingly.
  119.  */
  120. #undef    SUNWIN            /* SunWindows support */
  121. #undef    X10WIN            /* X Version 10 support */
  122. #undef    X11WIN            /* X Version 11 support */
  123. #undef    HP2627WIN        /* HP 2627 support */
  124. #undef    TEKTRONIXWIN        /* Tektronix 4014 support */
  125.  
  126. /* NB: You can't define X10WIN and X11WIN simultaneously */
  127. #if defined(X10WIN) && defined(X11WIN)
  128. syntax error
  129. #endif
  130.  
  131. /*
  132.  * The maximum length of a filename including a directory specifier.
  133.  * This value is also defined in the change files for tex, mf, and bibtex,
  134.  * so it appears in the relevant .h as "filenamesize".  It can be safely
  135.  * changed in these files if necessary, although you should really edit
  136.  * the files tex/ctex.ch and mf/cmf.ch.  Most sites should not have to
  137.  * change this value anyway, since it doesn't hurt much if it's too large.
  138.  * If you change it here, then change it in both the changefiles to match!
  139.  */
  140. #define    FILENAMESIZE    1024
  141.  
  142. /*
  143.  * Define the variable REGFIX if you want TeX to be compiled with local
  144.  * variables declared as "register".  On SunOS 3.2 and 3.4, and possibly
  145.  * with other compilers, this will cause problems, so use it only if
  146.  * the trip test is passed when it's turned on.
  147.  */
  148. #undef    REGFIX
  149.  
  150. /*
  151.  * Define VAX4_2 if you are running 4.2 or 4.3 BSD on a VAX.  This will
  152.  * cause Metafont to use some assembly language routines in place of
  153.  * some generic C routines.
  154.  */
  155. #undef    VAX4_2
  156.